package cn.promonkey.api.business.entity;import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.promonkey.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/** @author ninelock-ai */
@Data
@TableName("business")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Business extends BaseEntity { 
  /** 企业ID */
  @TableId(value = "business_id", type = IdType.AUTO)
  @TableField(value = "business_id")
  private Long businessId;
  /** 企业名称 */
  @TableField(value = "business_name")
  private String businessName;
  /** 创建用户ID */
  @TableField(value = "user_id")
  private Long userId;
  /** 到期时间 */
  @TableField(value = "expiration_date")
  private java.util.Date expirationDate;
  /** 状态 */
  @TableField(value = "status")
  private Integer status;
}
